<?xml version="1.0" encoding="gb2312"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  <xsl:output method="html" indent="no" encoding="gb2312" />
  <xsl:param name="sortCol" />
  <xsl:template match="/grid">
    <table id="gridBar" cellpadding="0" cellspacing="0" class="gridBar">
      <tr id="trHeader">
        <xsl:for-each select="row/cell">
          <td class="sort" nowrap="">
            <xsl:attribute name="field">
              <xsl:value-of select="@field" />
            </xsl:attribute>
            <xsl:attribute name="style">
				border:.5pt solid windowtext; background:silver;
			</xsl:attribute>
            <xsl:if test="@width">
              <xsl:attribute name="width">
                <xsl:value-of select="@width" />
              </xsl:attribute>
            </xsl:if>
            <xsl:value-of select="@title" />
          </td>
        </xsl:for-each>
      </tr>
    </table>
  </xsl:template>
</xsl:stylesheet>